package req

type UserLoginReq struct {
	UserName string `json:"username" binding:"required"`
	Password string `json:"password" binding:"required"`
}
type UserRegisterReq struct {
	UserName string `json:"username" binding:"required"`
	Password string `json:"password" binding:"required"`
	Gender   int8   `json:"gender" binding:"required"`
}
type UserUpdateReq struct {
	Id        int64    `json:"id" binding:"required"`
	UserName  string   `json:"userName"`
	AvatarUrl string   `json:"avatarUrl"`
	Gender    int8     `json:"gender"`
	Introduce string   `json:"introduce"`
	Tags      []string `json:"tags"`
}

type UserDeleteReq struct {
	Id int64 `uri:"id" binding:"required"`
}

type GetCurrentUserReq struct {
	Id int64 `uri:"id" binding:"required"`
}
